package  com.java.main.DomeSpringBoot;

/**
 * 请求获取用户信息
 */
public class GetUserInfoReq  {
    private Long userId;                 // 本用户id
    private Long targetId;                 // 查询用户id，自己查自己则两个一样

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GetUserInfoReq{");
        sb.append("userId=").append(userId);
        sb.append("|targetId=").append(targetId);
        sb.append('}');
        return sb.toString();
    }
}
